package com.kaka.bus.engine.home.info.record;

import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.MoneyRecordBean;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;

/**
 * Created by zhangqi on 2017/12/25.
 * e-mail : ${email}
 * desc :
 */

public interface RecordContract {

    interface View extends BaseView{
        void onError();

        void onResultStart(HttpWrapper<List<MoneyRecordBean>> o);

        void onResultLoadMore(HttpWrapper<List<MoneyRecordBean>> o);
    }

    interface Presenter extends BasePresenter<View>{
        void initData(String userId, String token, int page, int pageSize);

        void loadMore(String userId, String token, int page, int pageSize);
    }

}
